package com.situ.crm.entity;

import java.util.Date;

public class CustomerLossMeasure {
    private Integer id;

    private Integer customerLossId;

    private String measure;

    private Date createTime;

    private Date updateTime;

    public CustomerLossMeasure(Integer id, Integer customerLossId, String measure, Date createTime, Date updateTime) {
        this.id = id;
        this.customerLossId = customerLossId;
        this.measure = measure;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public CustomerLossMeasure() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCustomerLossId() {
        return customerLossId;
    }

    public void setCustomerLossId(Integer customerLossId) {
        this.customerLossId = customerLossId;
    }

    public String getMeasure() {
        return measure;
    }

    public void setMeasure(String measure) {
        this.measure = measure == null ? null : measure.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", customerLossId=").append(customerLossId);
        sb.append(", measure=").append(measure);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}